package com.sm.vo;

import com.sm.model.FirstSort;

import java.util.List;

/**
 *	所有商品的实体类。包含一级类别下的所有二级类别，以及所有二级类别下的所有商品
 * @author 60915
 */
public class AllGoodsVO {
	
	private FirstSort firstSort;//一级类别
	private List<SortGoodsVO> sortGoodsVOs;//一级类别下的所有的二级类别以及其下的所有商品
	
	public AllGoodsVO() {
		super();
	}
	public AllGoodsVO(FirstSort firstSort, List<SortGoodsVO> sortGoodsVOs) {
		super();
		this.firstSort = firstSort;
		this.sortGoodsVOs = sortGoodsVOs;
	}
	
	public FirstSort getFirstSort() {
		return firstSort;
	}
	public void setFirstSort(FirstSort firstSort) {
		this.firstSort = firstSort;
	}
	public List<SortGoodsVO> getSortGoodsVOs() {
		return sortGoodsVOs;
	}
	public void setSortGoodsVOs(List<SortGoodsVO> sortGoodsVOs) {
		this.sortGoodsVOs = sortGoodsVOs;
	}
	
	@Override
	public String toString() {
		return "AllGoodsVO [firstSort=" + firstSort + ", sortGoodsVOs=" + sortGoodsVOs + "]";
	}
	
	
	
	
	

}
